<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:23620/Service.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" />
  <xs:import schemaLocation="http://localhost:23620/Service.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Policies" />
  <xs:import schemaLocation="http://localhost:23620/Service.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/WcfGeebaServer.ContentManage" />
  <xs:element name="editContent">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q1:Member" />
        <xs:element minOccurs="0" name="topic" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="parentThreadId" type="xs:int" />
        <xs:element minOccurs="0" name="newContent" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="editContentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="editContentResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="bumpThread">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q2:Member" />
        <xs:element minOccurs="0" name="topic" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="parentThreadId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="bumpThreadResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="bumpThreadResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="replaceAdmin">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q3:Member" />
        <xs:element minOccurs="0" name="newAdmin" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="replaceAdminResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="replaceAdminResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="init">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="admin" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="adminPass" nillable="true" type="xs:string" />
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Policies" minOccurs="0" name="policy" nillable="true" type="q4:GPolicy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="initResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="initResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="entry">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="entryResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="entryResult" nillable="true" type="q5:User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="register">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="username" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="pass" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="registerResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="registerResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="login">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="oldUser" nillable="true" type="q6:User" />
        <xs:element minOccurs="0" name="username" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="pass" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="loginResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="loginResult" nillable="true" type="q7:Member" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="logout">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="memberUsername" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="logoutResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="logoutResult" nillable="true" type="q8:User" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getSubForums">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="getSubForumsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/WcfGeebaServer.ContentManage" minOccurs="0" name="getSubForumsResult" nillable="true" type="q9:ArrayOfGSubForum" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getThreads">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/WcfGeebaServer.ContentManage" minOccurs="0" name="subforum" nillable="true" type="q10:GSubForum" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getThreadsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/WcfGeebaServer.ContentManage" minOccurs="0" name="getThreadsResult" nillable="true" type="q11:ArrayOfGThread" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="addSubForum">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q12:Member" />
        <xs:element minOccurs="0" name="topic" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="memberUsername" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="addSubForumResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="addSubForumResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="removeSubForum">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q13:Member" />
        <xs:element minOccurs="0" name="topic" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="removeSubForumResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="removeSubForumResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getMemberThreadCount">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q14:Member" />
        <xs:element minOccurs="0" name="memberUsername" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getMemberThreadCountResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="getMemberThreadCountResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="changePassword">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q15:Member" />
        <xs:element minOccurs="0" name="oldPass" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="newPass" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="changePasswordResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="changePasswordResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getConnectedMembersCount">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="getConnectedMembersCountResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="getConnectedMembersCountResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SetActiveMember">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q16:Member" />
        <xs:element minOccurs="0" name="active" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SetActiveMemberResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SetActiveMemberResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="BanMember">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q17:Member" />
        <xs:element minOccurs="0" name="usernameToBan" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="BanMemberResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="BanMemberResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="publish">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q18:Member" />
        <xs:element minOccurs="0" name="topic" nillable="true" type="xs:string" />
        <xs:element xmlns:q19="http://schemas.datacontract.org/2004/07/WcfGeebaServer.ContentManage" minOccurs="0" name="message" nillable="true" type="q19:GThread" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="publishResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="publishResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="removeThread">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q20:Member" />
        <xs:element minOccurs="0" name="topic" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="threadId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="removeThreadResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="removeThreadResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getModerators">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q21:Member" />
        <xs:element minOccurs="0" name="topic" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getModeratorsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="getModeratorsResult" nillable="true" type="q22:ArrayOfMember" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="addModerator">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q23:Member" />
        <xs:element minOccurs="0" name="topic" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="memberUsername" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="addModeratorResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="addModeratorResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="replaceModerator">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q24="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q24:Member" />
        <xs:element minOccurs="0" name="topic" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="oldMemberUsername" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="newMemberUsername" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="replaceModeratorResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="replaceModeratorResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="removeModerator">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q25:Member" />
        <xs:element minOccurs="0" name="topic" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="memberUsername" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="removeModeratorResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="removeModeratorResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getThreadCount">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q26:Member" />
        <xs:element minOccurs="0" name="topic" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getThreadCountResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="getThreadCountResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="searchByContent">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="content" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="searchByContentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q27="http://schemas.datacontract.org/2004/07/WcfGeebaServer.ContentManage" minOccurs="0" name="searchByContentResult" nillable="true" type="q27:ArrayOfGThread" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="searchByUser">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="username" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="searchByUserResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q28="http://schemas.datacontract.org/2004/07/WcfGeebaServer.ContentManage" minOccurs="0" name="searchByUserResult" nillable="true" type="q28:ArrayOfGThread" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="comment">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" minOccurs="0" name="requesting" nillable="true" type="q29:Member" />
        <xs:element xmlns:q30="http://schemas.datacontract.org/2004/07/WcfGeebaServer.ContentManage" minOccurs="0" name="message" nillable="true" type="q30:GPost" />
        <xs:element minOccurs="0" name="topic" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="threadId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="commentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="commentResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getComments">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="topic" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="threadId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getCommentsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q31="http://schemas.datacontract.org/2004/07/WcfGeebaServer.ContentManage" minOccurs="0" name="getCommentsResult" nillable="true" type="q31:ArrayOfGPost" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="subscribe">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="username" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="subscribeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="subscribeResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="unsubscribe">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="unsubscribeResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="unsubscribeResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="onUpdate">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q32="http://schemas.datacontract.org/2004/07/WcfGeebaServer.ContentManage" minOccurs="0" name="message" nillable="true" type="q32:GThread" />
        <xs:element minOccurs="0" name="timestamp" type="xs:dateTime" />
        <xs:element minOccurs="0" name="IsNotification" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="onEditMessage">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="subforumTopic" nillable="true" type="xs:string" />
        <xs:element xmlns:q33="http://schemas.datacontract.org/2004/07/WcfGeebaServer.ContentManage" minOccurs="0" name="message" nillable="true" type="q33:GThread" />
        <xs:element minOccurs="0" name="timestamp" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>